package com.ccc.demoboot.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ccc.demoboot.pojo.Der;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface DerMapper extends BaseMapper<Der> {
    List<Map<String, Object>> selectAllDer(@Param("ew") QueryWrapper queryWrapper, @Param("status") int status, @Param("applyuserid") int applyuserid);

    boolean batAddDer(@Param("list") List<Der> list);

    List<Map<String,Object>> selectOne(@Param("batchid") String batchid);

    List<Map<String,Object>> selectDerAll();

}